<template>
  <div>
  </div>
</template>
<script>
  export default({
    data () {
      return {
      }
    },
    methods: {
    },
    computed: {
    },
    beforeMount () {
    },
    beforeRouteLeave (to, from, next) {
      let page = document.getElementById('wrap-page')
      page.style.display = 'none'
      next()
    },
    beforeRouteEnter (to, from, next) {
      next(vm => {
        if (!vm.$store.state.isHomePage) {
          vm.$store.commit('CHANGSTATUS', true)
        }
        let page = document.getElementById('wrap-page')
        page.style.display = 'block'
      })
    }
  })
</script>
<style lang="stylus" scoped>

</style>
